FROM ubuntu:24.04

RUN mkdir /home/db
RUN mkdir /home/work
RUN mkdir /home/repo
RUN mkdir /home/go-repo

WORKDIR /home

ADD ./go-devops /home/app
ADD ./db/gorm.db /home/db/gorm.db
ADD ./config.toml /home/config.toml

EXPOSE 9595

ENTRYPOINT ["sh", "-c", "./app"]